﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//using Legazpi.Payroll.Web.Providers;
using System.Web.Security;

namespace Legazpi.Payroll.Web.Account
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            RegisterHyperLink.NavigateUrl = "Register.aspx?ReturnUrl=" + HttpUtility.UrlEncode(Request.QueryString["ReturnUrl"]);
        }

        protected void LoginUser_Authenticate(object sender, AuthenticateEventArgs e)
        {
            //Session.Remove("Membership");
            //e.Authenticated = false;
            //EmzMembershipProvider membershipProvider = (EmzMembershipProvider)Membership.Provider;

            //e.Authenticated = membershipProvider.ValidateUser(LoginUser.UserName, LoginUser.Password);                                    
        }




    }
}
